package com.lxmes.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 检验派工单对象 nc_inspection_work_order
 * 
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcInspectionWorkOrder", description = "检验派工单对象")    
public class NcInspectionWorkOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 物料子编号 */
    @Excel(name = "物料子编号")
    @ApiModelProperty("物料子编号")
    private String materialSubcode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String materialName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    @ApiModelProperty("规格型号")
    private String specificationModel;

    /** 产品检验标准 */
    @Excel(name = "产品检验标准")
    @ApiModelProperty("产品检验标准")
    private String productInspectionStandard;

    /** 检验员姓名 */
    @Excel(name = "检验员姓名")
    @ApiModelProperty("检验员姓名")
    private String inspectorName;

    /** 派工单创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "派工单创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("派工单创建日期")
    private Date workOrderCreationDate;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("开始日期")
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("结束日期")
    private Date endDate;

    /** 设备编号 */
    @Excel(name = "设备编号")
    @ApiModelProperty("设备编号")
    private String equipmentNumber;

    /** 检验设备名称 */
    @Excel(name = "检验设备名称")
    @ApiModelProperty("检验设备名称")
    private String inspectionEquipmentName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    @ApiModelProperty("设备类型")
    private String equipmentType;

    /** 检验方法 */
    @Excel(name = "检验方法")
    @ApiModelProperty("检验方法")
    private String inspectionMethod;

    /** 检验结果 */
    @Excel(name = "检验结果")
    @ApiModelProperty("检验结果")
    private String inspectionResult;

    /** 检验单编号 */
    @Excel(name = "检验单编号")
    @ApiModelProperty("检验单编号")
    private String inspectionNumber;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setMaterialSubcode(String materialSubcode) 
    {
        this.materialSubcode = materialSubcode;
    }

    public String getMaterialSubcode() 
    {
        return materialSubcode;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setSpecificationModel(String specificationModel) 
    {
        this.specificationModel = specificationModel;
    }

    public String getSpecificationModel() 
    {
        return specificationModel;
    }
    public void setProductInspectionStandard(String productInspectionStandard) 
    {
        this.productInspectionStandard = productInspectionStandard;
    }

    public String getProductInspectionStandard() 
    {
        return productInspectionStandard;
    }
    public void setInspectorName(String inspectorName) 
    {
        this.inspectorName = inspectorName;
    }

    public String getInspectorName() 
    {
        return inspectorName;
    }
    public void setWorkOrderCreationDate(Date workOrderCreationDate) 
    {
        this.workOrderCreationDate = workOrderCreationDate;
    }

    public Date getWorkOrderCreationDate() 
    {
        return workOrderCreationDate;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setEquipmentNumber(String equipmentNumber) 
    {
        this.equipmentNumber = equipmentNumber;
    }

    public String getEquipmentNumber() 
    {
        return equipmentNumber;
    }
    public void setInspectionEquipmentName(String inspectionEquipmentName) 
    {
        this.inspectionEquipmentName = inspectionEquipmentName;
    }

    public String getInspectionEquipmentName() 
    {
        return inspectionEquipmentName;
    }
    public void setEquipmentType(String equipmentType) 
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType() 
    {
        return equipmentType;
    }
    public void setInspectionMethod(String inspectionMethod) 
    {
        this.inspectionMethod = inspectionMethod;
    }

    public String getInspectionMethod() 
    {
        return inspectionMethod;
    }
    public void setInspectionResult(String inspectionResult) 
    {
        this.inspectionResult = inspectionResult;
    }

    public String getInspectionResult() 
    {
        return inspectionResult;
    }
    public void setInspectionNumber(String inspectionNumber) 
    {
        this.inspectionNumber = inspectionNumber;
    }

    public String getInspectionNumber() 
    {
        return inspectionNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("materialSubcode", getMaterialSubcode())
            .append("materialName", getMaterialName())
            .append("specificationModel", getSpecificationModel())
            .append("productInspectionStandard", getProductInspectionStandard())
            .append("inspectorName", getInspectorName())
            .append("workOrderCreationDate", getWorkOrderCreationDate())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("equipmentNumber", getEquipmentNumber())
            .append("inspectionEquipmentName", getInspectionEquipmentName())
            .append("equipmentType", getEquipmentType())
            .append("inspectionMethod", getInspectionMethod())
            .append("inspectionResult", getInspectionResult())
            .append("inspectionNumber", getInspectionNumber())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
